
package com.skyarm.yuex.jk.comp;

/**
 * Please modify this class to meet your needs
 * This class is not complete
 */

import java.io.File;
import java.net.MalformedURLException;
import java.net.URL;
import javax.xml.namespace.QName;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.ws.RequestWrapper;
import javax.xml.ws.ResponseWrapper;

/**
 * This class was generated by Apache CXF 2.5.2
 * 2012-12-04T00:09:57.593+08:00
 * Generated source version: 2.5.2
 * 
 */
public final class CompanyDelegate_CompanyPort_Client {

    private static final QName SERVICE_NAME = new QName("http://service.richinfo.com/", "CompanyService");

    private CompanyDelegate_CompanyPort_Client() {
    }

    public static void main(String args[]) throws java.lang.Exception {
        URL wsdlURL = CompanyService.WSDL_LOCATION;
        if (args.length > 0 && args[0] != null && !"".equals(args[0])) { 
            File wsdlFile = new File(args[0]);
            try {
                if (wsdlFile.exists()) {
                    wsdlURL = wsdlFile.toURI().toURL();
                } else {
                    wsdlURL = new URL(args[0]);
                }
            } catch (MalformedURLException e) {
                e.printStackTrace();
            }
        }
      
        CompanyService ss = new CompanyService(wsdlURL, SERVICE_NAME);
        CompanyDelegate port = ss.getCompanyPort();  
        
        {
        System.out.println("Invoking getServiceAreaInfo...");
        java.lang.String _getServiceAreaInfo_arg0 = "";
        java.lang.String _getServiceAreaInfo_arg1 = "";
        java.lang.String _getServiceAreaInfo_arg2 = "";
        int _getServiceAreaInfo_arg3 = 0;
        int _getServiceAreaInfo_arg4 = 0;
        com.skyarm.yuex.jk.comp.ServiceAreaResult _getServiceAreaInfo__return = port.getServiceAreaInfo(_getServiceAreaInfo_arg0, _getServiceAreaInfo_arg1, _getServiceAreaInfo_arg2, _getServiceAreaInfo_arg3, _getServiceAreaInfo_arg4);
        System.out.println("getServiceAreaInfo.result=" + _getServiceAreaInfo__return);


        }
        {
        System.out.println("Invoking searchNearByComp...");
        java.lang.String _searchNearByComp_arg0 = "";
        java.lang.String _searchNearByComp_arg1 = "";
        java.lang.String _searchNearByComp_arg2 = "";
        java.lang.String _searchNearByComp_arg3 = "";
        java.lang.String _searchNearByComp_arg4 = "";
        int _searchNearByComp_arg5 = 0;
        int _searchNearByComp_arg6 = 0;
        com.skyarm.yuex.jk.comp.SearchResult _searchNearByComp__return = port.searchNearByComp(_searchNearByComp_arg0, _searchNearByComp_arg1, _searchNearByComp_arg2, _searchNearByComp_arg3, _searchNearByComp_arg4, _searchNearByComp_arg5, _searchNearByComp_arg6);
        System.out.println("searchNearByComp.result=" + _searchNearByComp__return);


        }
        {
        System.out.println("Invoking getMarkingInfo...");
        java.lang.String _getMarkingInfo_arg0 = "";
        java.lang.String _getMarkingInfo_arg1 = "";
        java.util.List<com.skyarm.yuex.jk.comp.MarkingInfo> _getMarkingInfo__return = port.getMarkingInfo(_getMarkingInfo_arg0, _getMarkingInfo_arg1);
        System.out.println("getMarkingInfo.result=" + _getMarkingInfo__return);


        }
        {
        System.out.println("Invoking getAssistantUpdateInfo...");
        com.skyarm.yuex.jk.comp.AssistantInfo _getAssistantUpdateInfo_arg0 = null;
        com.skyarm.yuex.jk.comp.ReturnInfo _getAssistantUpdateInfo__return = port.getAssistantUpdateInfo(_getAssistantUpdateInfo_arg0);
        System.out.println("getAssistantUpdateInfo.result=" + _getAssistantUpdateInfo__return);


        }
        {
        System.out.println("Invoking getCompanyMarking...");
        com.skyarm.yuex.jk.comp.MarkingInfo _getCompanyMarking_arg0 = null;
        com.skyarm.yuex.jk.comp.ReturnInfo _getCompanyMarking__return = port.getCompanyMarking(_getCompanyMarking_arg0);
        System.out.println("getCompanyMarking.result=" + _getCompanyMarking__return);


        }
        {
        System.out.println("Invoking getUpdateNewInfo...");
        com.skyarm.yuex.jk.comp.ClientInfo _getUpdateNewInfo_arg0 = null;
        com.skyarm.yuex.jk.comp.ReturnInfo _getUpdateNewInfo__return = port.getUpdateNewInfo(_getUpdateNewInfo_arg0);
        System.out.println("getUpdateNewInfo.result=" + _getUpdateNewInfo__return);


        }
        {
        System.out.println("Invoking getComDiscountInfo...");
        java.util.List<com.skyarm.yuex.jk.comp.DiscountType> _getComDiscountInfo__return = port.getComDiscountInfo();
        System.out.println("getComDiscountInfo.result=" + _getComDiscountInfo__return);


        }

        System.exit(0);
    }

}
